#ifndef _MYMQTT_H_
#define _MYMQTT_H_


#include "mycam.h"
#define IR_PIN 8
extern TaskHandle_t captureTask_handle;
extern TaskHandle_t uartTask_handle;
void MQTTTask(void *pvParameters) ;
void ConfigMQTTNoBlock(void);
void ConfigModuleRunNext(int delay);
void SendConfigFunction(char *order,void (*FunctionSend)(),char *HopeReturn1,char *HopeReturn2,void (*FunctionParse)(char *data,int len),uint32_t ConfigFunctionValue);
void FunctionParseCompare(char *data,int len);
void MQTTTask(void *pvParameters);
void UARTTask(void *pvParameters);
void checkSleepTask(void *pvParameters);
void Get_sleep_time(void);
void temperpub(void);
void campub(void);
void LDpub(void);
void IRpub(void);
#endif // !_MYMQTT_H_
